﻿<Window x:Class="TVGrid.ErrorBox"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Error" Height="203" Width="397" Background="#FF373434" >
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <TextBlock Text="An error occurred see message below:" FontSize="15" Grid.Row="0" Foreground="Red" Margin="5"/>
        <TextBlock Name="Massage" Grid.Row="1" Foreground="White" FontSize="14" Margin="5" TextWrapping="Wrap"/>
        <DockPanel  Grid.Row="2">
            <Button Content="OK" Width="100" Height="25" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="5" Click="Button_Click"/>
        </DockPanel>
    </Grid>
</Window>
